package com.tsxy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.File;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 飞
 * @since 2022-03-05
 */
@Getter
@Setter
  @ApiModel(value = "Book对象", description = "")
public class Book implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("id")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("分类")
      private Integer bookSortId;

      @ApiModelProperty("名称")
      private String name;

      @ApiModelProperty("描述")
      private String dscp;

      @ApiModelProperty("价格")
      private BigDecimal price;

      @ApiModelProperty("版本")
      private String version;

      @ApiModelProperty("颜色")
      private String color;

      @ApiModelProperty("版本")
      private String suit;

      @ApiModelProperty("数量")
      private Integer count;

      @ApiModelProperty("状态")
      private Boolean status;

      @ApiModelProperty("作者")
      private String author;


      @TableField(exist = false)
      private List<Files> filesList;
}
